# Contributor: Sergiy Stupar <owner@sestolab.pp.ua>
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
pkgname=ttyplot
pkgver=1.6.2
pkgrel=0
pkgdesc="Realtime plotting utility for terminal/console with data input from stdin"
url="https://github.com/tenox7/ttyplot"
arch="all"
options="!check" # No tests
license="Apache-2.0"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/tenox7/ttyplot/archive/$pkgver.tar.gz"

build() {
	make
}

package() {
	make MANPREFIX=/usr/share/man PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="
7ede447667a0a8f4b164a2a409e1264c36c95c22eeeda348c894678cb8d7209e742bb90f48a8a5260dd457ae7ff0a090a7d8b7eb25b20e20ada575e00cc4eb0b  ttyplot-1.6.2.tar.gz
"
